# 完全平方数
n = 0

while (n + 1) ** 2 - n * n <= 168:
    n += 1

print(n + 1)
